<?php

/* Portal Pracy - praca magisterska
 * autor: Tomek Ceszke
 * email: tomek.ceszke@gmail.com
 * Politechnika Koszalińska 2007
 */

class Tag extends AppModel
{
	var $name = 'Tag';
	
	var $hasAndBelongsToMany = array
	(
		'Ad' => array
		(
			'className' => 'Ad',
			'joinTable' => 'ads_tags',
			'foreignKey' => 'tag_id',
			'associationForeignKey'=>'ad_id')
		);
}
?>